﻿@model Stamp_For_Africa_Version_2.ViewModels.AlbumPageViewModel
         
	<ul id="gallery" class="gallery ui-helper-reset">
	<h4 class="ui-widget-header">Your stamp collection</h4>
		@{
      foreach (var stamp in Model.Album.AllMyStamps)
      {
				<li class="ui-widget-content ui-corner-tr">
					<h5 class="ui-widget-header">Test stamp</h5>
					<img alt ="Test Stamp" src='@Url.Action("ShowStamp", "Stamps", new { stamp.Id })' width="96" height="72"/>
		      
          <p style="display:none">@stamp.Id</p>
					@* Construct the enlarged image dialog *@
					@{
            var dlgId = stamp.Id.ToString();
						<div style="display: none;" id='@dlgId' title="View lagrger stamp">

								<div style="position: relative;">
        
								<img alt ="Test Stamp" src='@Url.Action("ShowStamp", "Stamps", new { stamp.Id })' />
								</div>

						</div>			
					}
					<a title='@stamp.DisplayName' dlgId='@stamp.Id' href='@stamp.Id' title="View larger image" class="ui-icon ui-icon-zoomin">View larger</a>		  
			</li>    
			}
		}

	</ul>

